﻿using Microsoft.Data.Edm;
using System;
namespace Microsoft.Data.OData.Query.SemanticAst
{
    /// <summary>
    /// Base class for all semantic metadata bound nodes which represent a single composable entity value.
    /// </summary>
    public abstract class SingleEntityNode : SingleValueNode
    {
        /// <summary>
        /// Gets the EntitySet containing this single entity.
        /// </summary>
        public abstract IEdmEntitySet EntitySet
        {
            get;
        }
        /// <summary>
        /// Gets the type of this single entity.
        /// </summary>
        public abstract IEdmEntityTypeReference EntityTypeReference
        {
            get;
        }
    }
}
